package com.mao.dao.voucher;

import org.springframework.stereotype.Component;

import com.mao.dao.BaseDAOHibernate;
import com.mao.model.voucher.DeliveryVoucher;
import com.mao.model.voucher.WareHouseVoucher;

@Component("deliveryVoucherDao")
public class DeliveryVoucherDao extends BaseDAOHibernate{
	
	public DeliveryVoucher saveDeliveryVoucher(DeliveryVoucher dv){
		getHibernateTemplate().saveOrUpdate(dv);
		return dv;
	}

}
